MenuItem.AutoEnable

If set to True, the MenuItem is enabled by default, as long as the App object or frontmost window has a menu handler for the menuitem. There is no need to put code in the EnableMenuItems event handler to explicitly enable the menu item.

Syntax

AutoEnable( Boolean ) as


Parameters

Boolean


Notes

AutoEnable is True by default. When you create dynamic menus by creating a new class based on MenuItem, AutoEnable is also True by default.